﻿/**
 * @file tst_applanguagecontroller.cpp
 * @author huangxb
 * @email 18228033207@163.com
 * @date 2024.04.27
 * @license MIT License
 * @brief 测试翻译文件控制器.
 *
 * @htmlonly
 * <span style="font-weight: bold">History</span>
 * @endhtmlonly
 * Version|Auther|Date|Describe
 * ------|----|------|--------
 * V1.0|huangxb|2024.04.27|创建
 */
/* 自定义头文件 */
#include "tst_applanguagecontroller.h"
#include "applanguagecontroller.h"
/* 库头文件 */
#include <QtTest>

void CTestApplanguageController::TestChangeLanugage()
{
    QString strPath = "D:\\Kinco-Dev\\workspace\\qt\\build-qt-custom-components-Desktop_Qt_5_15_2_MinGW_32_bit-Debug\\debug\\qt-custom-components_zh_CN.qm";
    bool bRet = AppLanguageController()->ChangeLanguage(EAL_ZH_CN,strPath);
    QVERIFY(bRet);
}
